package com.ruoyi.project.biz.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "credentials")
public class CredentialsDO {
    /**
     * 证书id
     */
    @Id
    @Column(name = "credentials_id")
    private Long credentialsId;
    /**
     * 证书类型id
     */
    @Column
    private Long credentialsTypeId;
    /**
     * 用户id
     */
    @Column
    private Long userId;
    /**
     * 用户姓名
     */
    @Column
    private String userName;
    /**
     * 证书上传时保存的名称
     */
    @Column
    private String credentialsName;
    /**
     * 证书级别
     */
    @Column
    private String credentialsTypeLeave;
    /**
     * 证书状态（0正常 1停用）
     */
    @Column
    private String status;
    /**
     * 创建者
     */
    @Column
    private String createBy;
    /**
     * 创建时间
     */
    @Column
    private Date createTime;
    /**
     *  更新者
     */
    @Column
    private String updateBy;
    /**
     * 更新时间
     */
    @Column
    private Date updateTime;
    /**
     * 类型名称
     */
    @Column
    private String credentialsType;

    public Long getCredentialsId() {
        return credentialsId;
    }

    public void setCredentialsId(Long credentialsId) {
        this.credentialsId = credentialsId;
    }

    public Long getCredentialsTypeId() {
        return credentialsTypeId;
    }

    public void setCredentialsTypeId(Long credentialsTypeId) {
        this.credentialsTypeId = credentialsTypeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCredentialsName() {
        return credentialsName;
    }

    public void setCredentialsName(String credentialsName) {
        this.credentialsName = credentialsName;
    }

    public String getCredentialsTypeLeave() {
        return credentialsTypeLeave;
    }

    public void setCredentialsTypeLeave(String credentialsTypeLeave) {
        this.credentialsTypeLeave = credentialsTypeLeave;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCredentialsType() {
        return credentialsType;
    }

    public void setCredentialsType(String credentialsType) {
        this.credentialsType = credentialsType;
    }
}
